package com.gxa.sideParking.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2022-10-05
 */
@Getter
@Setter
@TableName("tb_order_record")
@ApiModel(value = "OrderRecord对象", description = "")
public class OrderRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id自增")
      @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("提交时间")
    private LocalDateTime orderDate;

    @ApiModelProperty("车牌号码")
    private String carNum;

    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty("支付方式")
    private String orderPay;

    @ApiModelProperty("订单状态（1未支付，2已支付）")
    private Integer orderStatus;


}
